<template>
    <section class="aui-flexView">
	<header class="aui-navBar aui-navBar-fixed">
		<a href="javascript:;" class="aui-navBar-item" @click="$router.push('/')">
			<i class="icon icon-return"></i>
		</a>
		<div class="aui-center">
			<span class="aui-center-title"></span>
		</div>
	</header>
	<section class="aui-scrollView">
		<div class="aui-chang-box"></div>
		<div class="aui-chang-list">
			<div class="aui-user-img">
				<img style="width:100%;height:100%;"  :src="$store.state.user.userDetail.profile.avatarUrl" alt="">
			</div>
			<div class="aui-user-text">
				<h1>{{ $store.state.user.userDetail.profile.nickname }}</h1>
				<span v-if="$store.state.user.userDetail.profile.vipType==0"><i class="icon icon-vip" ></i>您还未开通VIP</span>
				<button>开通会员</button>
			</div>
			<div class="aui-jf">积分50</div>
		</div>
		<div class="aui-palace aui-palace-one">
			<a href="javascript:;" class="aui-palace-grid">
				<div class="aui-palace-grid-icon">
					<img src="../assets/img/nav-001.png" alt="">
				</div>
				<div class="aui-palace-grid-text">
					<h2>客户关系</h2>
				</div>
			</a>
			<a href="javascript:;" class="aui-palace-grid">
				<div class="aui-palace-grid-icon">
					<img src="../assets/img/nav-002.png" alt="">
				</div>
				<div class="aui-palace-grid-text">
					<h2>客户管理</h2>
				</div>
			</a>
			<a href="javascript:;" class="aui-palace-grid">
				<div class="aui-palace-grid-icon">
					<img src="../assets/img/nav-003.png" alt="">
				</div>
				<div class="aui-palace-grid-text">
					<h2>任务监控</h2>
				</div>
			</a>
			<a href="javascript:;" class="aui-palace-grid">
				<div class="aui-palace-grid-icon">
					<img src="../assets/img/nav-004.png" alt="">
				</div>
				<div class="aui-palace-grid-text">
					<h2>数据统计</h2>
				</div>
			</a>
		</div>
		<div class="divHeight"></div>
		<div class="aui-list-item">
			<a href="javascript:;" class="aui-flex b-line">
				<div class="aui-cou-img">
					<img src="../assets/img/icon-001.png" alt="">
				</div>
				<div class="aui-flex-box">
					<p>用户协议</p>
				</div>
			</a>
			<a href="javascript:;" class="aui-flex b-line">
				<div class="aui-cou-img">
					<img src="../assets/img/icon-002.png" alt="">
				</div>
				<div class="aui-flex-box">
					<p>常见问题</p>
				</div>
			</a>
			<a href="javascript:;" class="aui-flex b-line">
				<div class="aui-cou-img">
					<img src="../assets/img/icon-003.png" alt="">
				</div>
				<div class="aui-flex-box">
					<p>联系客服</p>
				</div>
			</a>
			<div class="divHeight b-line"></div>
			<a href="javascript:;" class="aui-flex b-line">
				<div class="aui-cou-img">
					<img src="../assets/img/icon-004.png" alt="">
				</div>
				<div class="aui-flex-box">
					<p>关于我们</p>
				</div>
			</a>
		</div>
		<div class="divHeight b-line"></div>

	</section>
	
</section>
</template>



<style lang="less" scoped>
a {
    text-decoration: none;
    color: #08acee;
}

button {
    outline: 0;
}

img {
    border: 0;
}

button,input,optgroup,select,textarea {
    margin: 0;
    font: inherit;
    color: inherit;
    outline: none;
}

li {
    list-style: none;
}

a {
    color: #666;
}

.clearfix::after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}


.divHeight {
    width: 100%;
    height: 10px;
    background: #f5f5f5;
    position: relative;
    overflow: hidden;
}

.r-line {
    position: relative;
}

.r-line:after {
    content: '';
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    height: 100%;
    border-right: 1px solid #D9D9D9;
    -webkit-transform: scaleX(0.5);
    transform: scaleX(0.5);
    -webkit-transform-origin: 100% 0;
    transform-origin: 100% 0;
}

.b-line {
    position: relative;
}

.b-line:after {
    content: '';
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    border-bottom: 1px solid #e2e2e2;
    -webkit-transform: scaleY(0.5);
    transform: scaleY(0.5);
    -webkit-transform-origin: 0 100%;
    transform-origin: 0 100%;
}


.aui-arrow{
    position:relative;
    padding-right:0.25rem;
}

.aui-arrow span{
    font-size:0.25rem;
    color:#9b9b9b;
}

.aui-arrow:after {
    content: " ";
    display: inline-block;
    height: 6px;
    width: 6px;
    border-width: 2px 2px 0 0;
    border-color: #848484;
    border-style: solid;
    -webkit-transform: matrix(0.71, 0.71, -0.71, 0.71, 0, 0);
    transform: matrix(0.71, 0.71, -0.71, 0.71, 0, 0);
    position: relative;
    top: -2px;
    position: absolute;
    top: 50%;
    margin-top: -4px;
    right: 2px;
    border-radius: 1px;
}


.aui-flex {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    padding: 15px;
    position: relative;
}

.aui-flex-box {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    min-width: 0;
    font-size: 14px;
    color: #333;
}


/* 蹇呰甯冨眬鏍峰紡css */

.aui-flexView {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.aui-scrollView {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

.aui-navBar {
    height: 44px;
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    z-index: 102;
    background: #97fac4;
}


.aui-navBar-item {
    height: 44px;
    min-width: 25%;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 25%;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    padding: 0 0.3rem;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 0.22rem;
    white-space: nowrap;
    overflow: hidden;
    color: #808080;
    position: relative;
}

.aui-navBar-item:first-child {
    -webkit-box-ordinal-group: 2;
    -webkit-order: 1;
    -ms-flex-order: 1;
    order: 1;
    margin-right: -25%;
    font-size: 0.3rem;
    font-weight: bold;
}

.aui-navBar-item:last-child {
    -webkit-box-ordinal-group: 4;
    -webkit-order: 3;
    -ms-flex-order: 3;
    order: 3;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.aui-center {
    -webkit-box-ordinal-group: 3;
    -webkit-order: 2;
    -ms-flex-order: 2;
    order: 2;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    height: 44px;
    width: 50%;
    margin-left: 25%;
}

.aui-center-title {
    text-align: center;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    display: block;
    text-overflow: ellipsis;
    font-size: 0.3rem;
    color: #333;
}

.icon {
    width: 20px;
    height: 20px;
    display: block;
    border: none;
    float: left;
    background-size: 20px;
    background-repeat: no-repeat;
}

.icon-return{
    background-image:url('');

}



.aui-palace {
    padding: 0.15rem 0;
    position: relative;
    overflow: hidden;
}

.aui-palace-grid {
    position: relative;
    float: left;
    padding: 1px;
    width: 20%;
    box-sizing: border-box;
    margin: 5px 0;
}

.aui-palace-grid-icon {
    width: 30px;
    height: 30px;
    margin: 0 auto;
}

.aui-palace-grid-icon img {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
}

.aui-palace-grid-text {
    display: block;
    text-align: center;
    color: #333;
    font-size: 0.3rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    padding-top: 0.06rem;
}

.aui-palace-grid-text h2 {
    font-size: 0.25rem;
    font-weight: normal;
    color: #666666;
}

.aui-chang-box{
    width:100%;
    position:relative;
    background-color:#97fac4;
    background: -webkit-linear-gradient(#97fac4, #88efab); /* Safari 5.1 - 6.0 */
    background: -o-linear-gradient(#97fac4, #88efab); /* Opera 11.1 - 12.0 */
    background: -moz-linear-gradient(#97fac4, #88efab); /* Firefox 3.6 - 15 */
    background: linear-gradient(#97fac4, #88efab); /* 鏍囧噯鐨勮娉� */
    height:2.5rem;
}

.aui-chang-list{
    width:92%;
    margin:-2rem auto;
    background:#fff;
    border-radius:5px;
    box-shadow:0 3px 15px #e7e7e7;
    position:relative;
    z-index:2;
    padding-bottom:1rem;
}

.aui-chang-list:after{
    content: '';
    position: absolute;
    border-radius:5px;
    z-index: -1px;
    top: 0;
    left: 0;
    width:120px;
    height: 180px;
    background-size:120px;
    background-repeat:no-repeat;
    background-image:url('');
}

.aui-user-img{
    width:50px;
    height:50px;
    position:absolute;
    left:50%;
    margin-left:-25px;
    top:-0.4rem;
    border-radius:100%;
    overflow:hidden;
    box-shadow:0 3px 9px #e7e7e7;
}

.icon-vip{
    background-image:url('');
}

.aui-user-text{
    padding:1rem 0 0;
    text-align:center;
    position:relative;
    z-index:3;
}

.aui-user-text span{
    width:42%;
    margin:0 auto 0.25rem;
    display:block;
    font-size:0.3rem;
}

.aui-user-text h1{
    color:#333;
    font-size:0.4rem;
    margin-bottom:0.25rem;
}

.aui-user-text span i{
    margin-top:-2px;
}

.aui-user-text button{
    background:none;
    border:1px solid #e42e2e;
    font-size:0.3rem;
    font-weight:400;
    color:#e42e2e;
    border-radius:22px;
    padding:0.0.3rem 0.15rem;
}


.aui-chang-list .aui-jf{
    background:#ffb710;
    color:#fff;
    font-size:0.3rem;
    font-weight:normal;
    border-radius:22px;
    position:absolute;
    top:0.3rem;
    right:0.3rem;
    padding:0.04rem 0.2rem;
    box-shadow:0 3px 9px #fbe4b0;
}


.aui-palace-one{
    padding-top:2.2rem;
    padding-bottom:0.3rem;
}

.aui-palace-one .aui-palace-grid-icon{
    height:auto;
    width:50px;
}

.aui-palace-one .aui-palace-grid{
    width:25%;
}


.aui-cou-img {
    width: 20px;
    height: 20px;
    margin-right: 0.15rem;
}

.aui-cou-img img {
    width: 20px;
    height: 20px;
    display: block;
    border: none;
}
</style>